#include<string>
#include"../DealReq.h"
#include<iostream>
#include"../ValuesData.h"
#include"../FormData.h"
#include"../JsonData.h"
#include<memory>
#pragma once

#define _MAR(func, url)			\
  std::cout << url << std::endl;		\
  DealReq::UTF[url] = func;		   					

#define _GET(t)							\
  [&](){return std::dynamic_pointer_cast<t>(DealReq::STS[fd]->data);}();

#define _GF(var)				\
  auto &&var = _GET(ValuesData)		

#define _GM(var)				\
  auto &&var = _GET(FormData)

#define _GJ(var)				\
  auto &&var = _GET(JsonData)				

/*
  mysql goodluck 325387d23a827267904be370ba4df7b5d8205783
*/

